package com.newzqxq.koalamoney.ui.activity;

import android.content.Intent;
import android.widget.TextView;

import com.newzqxq.koalamoney.R;
import com.newzqxq.koalamoney.common.BaseActivity;

import butterknife.BindView;
import butterknife.OnClick;

/**
 * 设置 - 安全设置
 */

public class SecuritySetActivity extends BaseActivity {

    @BindView(R.id.title_mid_tv)
    TextView title_mid_tv;

    @Override
    protected int getContentViewId() {
        return R.layout.ui_security_set;
    }

    @Override
    protected void initData() {
        setTitile();
    }

    //title
    private void setTitile() {
        title_mid_tv.setText(R.string.security_set);
    }

    //关闭
    @OnClick(R.id.title_relative_back)
    void ShutDown() {
        finish();
    }

    /**
     * 修改登录密码
     */
    @OnClick(R.id.modify_login_password)
    void ModifyLoginPassword() {
        startActivity(new Intent(this, ModifyLoginPasswordActivity.class));
    }

    /**
     * 修改手势密码
     */
    @OnClick(R.id.modify_gestures_password)
    void ModifyGesturesPassword() {
        Intent intent = new Intent(this, CreateGestureActivity.class);
        startActivity(intent);
        finish();
    }

    /**
     * 修改支付密码
     */
    @OnClick(R.id.modify_pay_password)
    void ModifyPayPassword() {

    }

    @Override
    protected void initView() {

    }

    @Override
    protected void initListener() {

    }

    @Override
    protected void clearMemory() {

    }
}
